import Vue from 'vue'
import Router from 'vue-router'
import login from '@/components/login'
import index from '@/components/index'
import userList from '@/components/module/sys/user_list'

Vue.use(Router)
export default new Router({
  routes: [
  	{name:'login',path: '/login', component: login}, 
    {
      path: '/',
      redirect: login
    },
    {
    	path:'/index',
    	component:index
    },{
      path:'/module/sys/user_list',
      component:userList
    }
   
  ]
})
